x86: remove IS_PRIV bypass on IRQ check
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Fri, 19 Apr 2013 08:50:08 +0000 (10:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Apr 2013 08:50:08 +0000 (10:50 +0200)
commitabd10cf98fed1f8eb01b7826a171873a3b75c396
tree6745afc7e63817fd0727e816d6e91e880735ef61
parent764012376a096a45bced88ee2ec1a6c17c6c22c7
x86: remove IS_PRIV bypass on IRQ check

This prevents a process in dom0 from granting a domU access to an IRQ without
adding the IRQ to the domU's list of permitted IRQs. This operation currently
succeeds in dom0 but would fail if the device model were running in a stubdom,
so making the failure consistent should ease debugging of the device-model
stubdoms.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
xen/arch/x86/domctl.c